package shooter.network;

/**
 * Represents a chat message. 
 * 
 * @author Michail Tausch
 */
public class ChatMessage extends Message{
	
	String playeName = "";
	String message = "";
	
	/**
	 * The Constructor.
	 * @param playerName
	 */
	public ChatMessage(String playerName){
		this.playeName=playerName;
	}
	
	/**
	 * Returns the player name of this message.
	 * @return
	 */
	public String getPlayeName() {
		return playeName;
	}
	
	/**
	 * Sets the player name of this message
	 * @param playeName
	 */
	public void setPlayeName(String playeName) {
		this.playeName = playeName;
	}
	
	/**
	 * Returns the message text.
	 * @return
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * Sets the message text.
	 * @param message
	 */
	public void setMessage(String message) {
		this.message = message;
	}
}
